string join inside foreach loop c#

59

string join inside foreach loop c# -

//join string inside loop 
finalString = string.Join("|", EmployeeList.Select( x=> x.Name));

Comments

Submit
0 Comments